﻿using FreeSql.DataAnnotations;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ZoneLineNew.Models.Entity.Base;

namespace ZoneLineNew.Models.Entity.BaseInfo
{
    [Table(Name = "base_recipe")]
    public class RecipeEntity : EntityBase
    {
        private string _ip;
        /// <summary>
        /// 设备Ip
        /// </summary>
        public string IP
        {
            get { return _ip; }
            set { _ip = value; base.RaisePropertyChanged(); }
        }

        private string _stationCode;
        /// <summary>
        /// 设备编号
        /// </summary>
        public string StationCode {
            get { return _stationCode; }
            set { _stationCode = value; base.RaisePropertyChanged(); }
        }

        private string _recipeName;
		/// <summary>
		/// 配方名称
		/// </summary>
		public string RecipeName
        {
			get { return _recipeName; }
			set { _recipeName = value; base.RaisePropertyChanged(); }
		}

        private string _recipeNumber;
        /// <summary>
        /// 配方编号
        /// </summary>
        public string RecipeNumber
        {
            get { return _recipeNumber; }
            set { _recipeNumber = value; base.RaisePropertyChanged(); }
        }

        private string _remark;
        /// <summary>
        /// 备注
        /// </summary>
        public string Remark
        {
            get { return _remark; }
            set { _remark = value; base.RaisePropertyChanged(); }
        }

        private DateTime _createTime = DateTime.Now;
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime {
            get { return _createTime; }
            set { _createTime = value; base.RaisePropertyChanged(); }
        }


        private long _productID;
        /// <summary>
        /// 产品ID
        /// </summary>
        public long ProductID
        {
            get { return _productID; }
            set { _productID = value; base.RaisePropertyChanged(); }
        }

    }

}
